﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WPay.Infrastructure.Unity
{
    public class ErrorLog
    {
        /// <summary>
        /// 记录错误日志
        /// </summary>
        /// <param name="funName">执行方法名</param>
        /// <param name="msg">日志内容信息</param>
        /// <param name="logType">日志类型</param>
        public static void WriteLog(string funName, string msg, string logType = "ErrLog")
        {
            Console.WriteLine("【"+ logType + "】--"+funName + "--: " + msg);
        }
    }
}
